#include<iostream>
using namespace std;
class USBDevice{
	long m_id;
public:
	USBDevice(long id);
	long getID();
};
USBDevice::USBDevice(long id):m_id(id){
}
long USBDevice::getID(){
	return m_id;
}
class NetworkDevice{
	long m_id;
public:
	NetworkDevice(long id);
	long getID();
};
NetworkDevice::NetworkDevice(long id):
m_id(id){
}
long NetworkDevice::getID(){
	return m_id;
}
class WirelessAdaptor:public USBDevice,public NetworkDevice{
public:
	WirelessAdaptor(long uid,long nid):USBDevice(uid),NetworkDevice(nid){
	}
};

int main()
{
	WirelessAdaptor c54G(5442,181742);
	cout<<c54G.USBDevice::getID();
	system("pause");
	return 0;
}


